using System;
using System.Collections.Generic;
using System.Text;
using Canvas.Base;

namespace Canvas.CanvasInterfaces
{
    /// <summary>
    /// Bat diem
    /// </summary>
    public interface ISnapPoint
    {
        /// <summary>
        /// Lay doi tuong do hoa cua chinh no
        /// </summary>
        IDrawObject Owner { get;}
        /// <summary>
        /// Lay diem duoc bat
        /// </summary>
        UnitPoint SnapPoint { get;}
        /// <summary>
        /// Ve lai tren Canvas -- buc ve
        /// </summary>
        /// <param name="canvas"></param>
        void Draw(ICanvas canvas);
    }
}
